package com.zelix;

import java.util.Enumeration;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Vector;

public final class fd extends yc {

    private HashSet k;
    private HashSet l;
    private re m;
    private static String z[];

    public fd(it it1, Vector vector, re re1, nh nh1) {
        super(it1, vector, nh1);
        m = re1;
        if (it1.k()) {
            a(it1.j(), it1.A());
            k();
        }
    }

    private final void k() {
        int i;
        Hashtable hashtable;
        Vector vector;
        int j;
        i = super.a.size();
        hashtable = new Hashtable();
        vector = new Vector();
        for (j = 0; j < i; j++) {
            Enumeration enumeration;
            gj gj1 = (gj) super.a.elementAt(j);
            enumeration = gj1.i();
            while (enumeration.hasMoreElements()) {
                Object obj = enumeration.nextElement();
                if (!hashtable.containsKey(obj)) {
                    hashtable.put(obj, obj);
                    vector.addElement(obj);
                }
            }
        }

        _L6:
        if (super.b.z() && vector.size() > 0) {//}goto _L8; else goto _L7
//_L7:
            int i1;
            super.c.println(z[13]);
            for (i1 = vector.size() - 1; i1 >= 0; i1--) {
                super.c.println(z[8] + vector.elementAt(i1) + "\"");
            }
        }
//_L8:
        for (int i1 = vector.size() - 1; i1 >= 0; i1--) {
//_L11:
            il il1;
//label0:
//        {
            il1 = (il) vector.elementAt(i1);
            if (!il1.G() && !il1.w() && (!il1.x() || !il1.b())) {
                super.b.e(z[16] + il1 + z[9], true);
            } else if (il1.w() && il1.v()) {
                super.b.e(z[16] + il1 + z[15], true);
            } else if (il1.G() && il1.I()) {
                super.b.e(z[16] + il1 + z[14] + z[12] + z[11], true);
            } else if (il1.w() && il1.u())
                super.b.e(z[16] + il1 + z[14] + "+" + z[10], true);
//        }
            il1.a(this);
        }
//        i1--;
//_L12:
//        if(i1 < 0)
//            return;
//        if(true) goto _L11; else goto _L13
//_L13:
    }

    public final void a(mt mt1, String s) {
        Object obj = super.e.remove(mt1);
        if (obj != null) {
            Object obj1 = super.f.put(mt1, mt1);
            if (super.b.z() && super.c != null)
                super.c.println(z[17] + mt1.x() + mt1.l() + z[5] + s + "\"");
        }
    }

    public void b(mt mt1, String s) {
        if (l.contains(mt1)) {
            if (m != null && m.e(mt1.j())) {
                if (super.c != null)
                    super.b.e(z[1] + mt1.x() + mt1.l() + z[2] + m.c() + z[4] + s + z[0]);
                return;
            }
            boolean flag = l.remove(mt1);
            k.add(mt1);
            if (super.b.z() && super.c != null)
                super.c.println(z[3] + mt1.x() + mt1.l() + z[5] + s + "\"");
        }
    }

    public final void a(ou ou1, String s) {
        ou ou2 = (ou) super.g.remove(ou1);
        if (ou2 != null) {
            super.h.put(ou1, ou1);
            if (super.b.z() && super.c != null)
                super.c.println(z[7] + ou1.d(false).trim() + z[6] + ou1.l() + z[5] + s + "\"");
        }
    }

    public Enumeration a() {
        return cv.a(l);
    }

    final void a(Enumeration enumeration, int i) {
        super.e = new Hashtable(px.a(i));
        super.f = new Hashtable(px.a(i));
        super.g = new Hashtable(px.a(i * 5));
        super.h = new Hashtable(px.a(i * 5));
        l = new HashSet(px.a(i));
        k = new HashSet(px.a(i));
        while (enumeration.hasMoreElements()) {
            cv cv1;
            mt mt1 = (mt) enumeration.nextElement();
            super.e.put(mt1, mt1);
            l.add(mt1);
            cv1 = mt1.cb();
            while (cv1.hasMoreElements()) {
                ou ou1 = (ou) cv1.nextElement();
                super.g.put(ou1, ou1);
            }
        }
    }

    public boolean b(mt mt1) {
        return super.f.containsKey(mt1) || k.contains(mt1);
    }

    private static String z(char[] chs) {
        byte key = 0;
        for (int i = 0; i < chs.length; i++) {
            switch (i % 5) {
                case 0:
                    key = 0x3e;
                    break;
                case 1:
                    key = 115;
                    break;
                case 2:
                    key = 15;
                    break;
                case 3:
                    key = 54;
                    break;
                case 4:
                    key = 124;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static {
        String as[];
        as = new String[18];
        as[0] = "\034]";
        as[1] = "}\034zZ\030\036=@b\\[\013lZ\tZ\026/U\020_\000|\026^";
        as[2] = "\034SiD\023SShS\bJ\032aQ\\X\037`A\\Q\021iC\017]\022{_\023PSi_\031R\027|\026\036[\020nC\017[Sl^\035P\024j\026\020Q\024/\024";
        as[3] = "76wU\020K\027fX\033\036\025}Y\021\036\024jB\bW\035h\026\032R\034x\026\023\\\025zE\037_\007fY\022\036\025fS\020Z\000/U\020_\000|\026^";
        as[4] = "\034S|F\031]\032i_\031MS{^\035JSfB\\Z\034jE\\\004S-";
        as[5] = "\034SmS\037_\006|S\\Q\025/\024";
        as[6] = "\034SfX\\]\037nE\017\036Q";
        as[7] = "76wU\020K\027fX\033\036\025}Y\021\036\025cY\013\036\034mP\tM\020nB\025Q\035/[\031J\033`R\\\034";
        as[8] = "7z-";
        as[9] = "\031SfX\\\031\034mP\tM\020nB\031x\037`A9F\020cC\030[T/E\b_\007j[\031P\007/_\017\036\035`B\\_SlZ\035M\000/Y\016\036\036jB\024Q\027/S\004]\037zE\025Q\035/F\035L\022bS\b[\001!\0265JSx_\020RSmS\\W\024aY\016[\027!";
        as[10] = "\031S{W\033\020S[^\031\036\007nQ\\I\032cZ\\\\\026/_\033P\034}S\030\020";
        as[11] = "\031SdS\005I\034}RR\036:{\026\013W\037c\026\036[SfQ\022Q\001jRR";
        as[12] = "\025\000fQ\022_\007zD\031}\037nE\017[\0";
        as[13] = "7<mP\tM\020nB\031\0365cY\013\0366wU\020K\000fY\022\036\003nD\035S\026{S\016MI";
        as[14] = "\031SfX\\\031\034mP\tM\020nB\031x\037`A9F\020cC\030[T/U\035P\035`B\\K\000j\026\bV\026/\021";
        as[15] = "\031SfX\\\031\034mP\tM\020nB\031x\037`A9F\020cC\030[T/E\b_\007j[\031P\007/U\035P\035`B\\K\000j\026\bV\026/\021@R\032a]B\031S|O\022J\022w\030\\w\007/A\025R\037/T\031\036\032hX\023L\026k\030";
        as[16] = "n\022}W\021[\007jD\\\031";
        as[17] = "76wU\020K\027fX\033\036\025}Y\021\036\025cY\013\036\034mP\tM\020nB\025Q\035/U\020_\000|\026^";
        for (int i = 0; i < as.length; i++) {
            as[i] = z(as[i].toCharArray());
        }
        z = as;

    }
}